package News.dao;

import java.util.List;

import News.entity.NewsUser;
import News.entity.Topic;

public interface News_dao {
	public NewsUser login(String u, String p);

	int add(NewsUser s);

	int delete(long id);

	int add(Topic s);

	int update(Topic s);

	List<Topic> finAll();
}
